<html>
    <head>
        <title>Workflow Form</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="../css/design_form_def.css" type="text/css" rel="stylesheet"/>
        
        <script type="text/javascript" src="../js/jquery/jquery-1.2.6.js"></script>
        <script type="text/javascript" src="../js/jquery/thickbox/thickbox.js"></script>
        
        <script type="text/javascript" src="../js/commons/commons.js"></script>
        <script type="text/javascript" src="../js/commons/jquery_xml.js"></script>       
        <script type="text/javascript" src="../js/components/form/form.js"></script>
        <script type="text/javascript" src="../js/components/form/form_class.js"></script>
        
        <script type="text/javascript" src="../js/workflow/layout.js"></script>
        <script type="text/javascript" src="../js/sys/sys.js"></script>
        
        <script type="text/javascript">
            
            $(document).ready(function() {
                var sfc = new SysFormClass();
                sfc.init("FormEditor", {width: 600, height: 200});
                
                // layout
                layoutInit();               
                
                // 显示用户名
                $.get("../stringRes", {s:"signAction", act:"info"}, PowerhuaSys.fn.showSysUserName);
            });
            
        </script>
    </head>
    
    <body>
        <div id="box">
            <!-- head -->
            <div id="header" align="left">
                <div id="HiddenContent" style="display:none;">
                    <input type="hidden" name="WorkflowName" value="" id="WorkflowName"/>
                    <input type="hidden" name="TaskId" value="" id="TaskId"/>
                </div>
                <table width="100%">
                    <tr>
                        <td width="150">&nbsp;</td>
                        <td>
                            <ul class="header_nav">
                                <li><a href="#">我的工作台</a></li>
                                <li><a href="#">文档管理</a></li>
                                <li><a href="#">收藏夹</a></li>            
                                <li><a href="#">工作流</a></li>
                            </ul>
                        </td>
                        <td width="250" align="right">
                            Hi, <strong><span id="UserName">powerhua</span></strong> &nbsp; | &nbsp;
                            <a href="#">设置</a> &nbsp; | &nbsp; 
                            <a href="#">帮助</a> &nbsp; | &nbsp; 
                            <a href="#">退出</a>&nbsp;
                        </td>
                    </tr>
                </table>
            </div>
            
            <!-- left -->
            <div id="left" align="left">
                <div id="left_title">Workflow Menu</div>
                <div id="left_nav_content">
                    <div style="padding:5px;"><a href="javascript:">我的任务</a></div>
                    <div style="padding:5px;"><a href="javascript:">新的任务</a></div>
                    <div style="padding:5px;"><a href="javascript:">未完成任务</a></div>
                    <div style="padding:5px;"><a href="javascript:">已经开始的任务</a></div>
                    <div style="padding:5px;"><a href="javascript:">未开始的任务</a></div>
                    <div style="padding:5px;"><a href="javascript:">工作流定义</a></div>
                </div>
            </div>
            
            <!-- content -->
            <div id="content">
                <div id="FormEditor"></div>
            </div>
            
            <!-- foot -->
            <div id="footer"><div align="left" style="padding:5px;">
                &copy; 2007 Powerhua. All rights reserved.</div>
            </div> 
        </div>
    </body>
</html>
